package ex.com.jm.food.service.impl;

import java.util.List;

import ex.com.jm.food.dao.AdminMPSDao;
import ex.com.jm.food.entity.MenuProfitSummary;
import ex.com.jm.food.service.AdminMPSService;

public class AdminMPSServiceImpl implements AdminMPSService {

	private AdminMPSDao adminMPSDao;
	public AdminMPSDao getAdminMPSDao() {
		return adminMPSDao;
	}

	public void setAdminMPSDao(AdminMPSDao adminMPSDao) {
		this.adminMPSDao = adminMPSDao;
	}

	@Override
	public List<MenuProfitSummary> getMPSs(int initPage, int pageRow,
			String name, String s_date, String e_date, String sort, String order) {
		// TODO Auto-generated method stub
		return this.getAdminMPSDao().getMPSs(initPage, pageRow, name, s_date, e_date, sort, order);
	}

	@Override
	public int mpsCount(String name, String s_date, String e_date) {
		// TODO Auto-generated method stub
		return this.getAdminMPSDao().mpsCount(name, s_date, e_date);
	}

	@Override
	public List<MenuProfitSummary> MPSExcel(String name, String s_date,
			String e_date) {
		// TODO Auto-generated method stub
		return this.getAdminMPSDao().MPSExcel(name, s_date, e_date);
	}

	@Override
	public List<MenuProfitSummary> MPSReport(String name, String s_date,
			String e_date) {
		// TODO Auto-generated method stub
		return this.getAdminMPSDao().MPSReport(name, s_date, e_date);
	}

}
